package com.wgchao.authmanager.infrastructure.exception;

import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @ClassName: TokenDefectException
 * @author: wgchao
 * @createTime: 2020/5/12 5:01 PM
 * @Description: 缺少身份令牌异常
 */
@Data
@NoArgsConstructor
public class TokenDefectException extends RuntimeException {

    private String code = "5001";

    public TokenDefectException(String message) {
        super(message);
    }

}
